package ooday05;

public class EnumTest01 {
    public static void main(String[] args) {
        Enum01 a = Enum01.Sunday;
        System.out.println("今天是:"+a.getName());

        Enum01[] b = Enum01.values();

        for (int i = 0; i < b.length ; i++) {
            System.out.println(b[i]);
            System.out.println(i+1);
            }
        }
    }

